package com.dscs.domain;

/**
 * @author 叶雪娟
 * @date 2019/7/17
 **/
public class Role {
    private long id;
    private String name;
    private long userId;
    private String code;
    private String description;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Role() {
    }

    public Role(long id, String name, long userId, String code, String description) {
        this.id = id;
        this.name = name;
        this.userId = userId;
        this.code = code;
        this.description = description;
    }
}
